package com.yanqu.road.entity.log.wanyao;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_wan_yao_active_talent", autoSave = true,uploadCk = true,desc = "万妖行-激活天赋")
public class LogWanYaoActiveTalent extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "技能类型")
    private int talentType;

    @FieldTypeAnnotation(desc = "技能等级")
    private int talentLevel;

    @FieldTypeAnnotation(desc = "激活前惊魂花数量")
    private long oldFlower;

    @FieldTypeAnnotation(desc = "激活消耗惊魂花数量")
    private long flowerCost;

    @FieldTypeAnnotation(desc = "激活返还的惊魂花数量")
    private long returnFlower;

    @FieldTypeAnnotation(desc = "激活后惊魂花数量")
    private long newFlower;

    public LogWanYaoActiveTalent(int activityId, long userId, int talentType, int talentLevel, long oldFlower, long flowerCost, long returnFlower, long newFlower, Date operateTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.talentType = talentType;
        this.talentLevel = talentLevel;
        this.oldFlower = oldFlower;
        this.flowerCost = flowerCost;
        this.returnFlower = returnFlower;
        this.newFlower = newFlower;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTalentType() {
        return talentType;
    }

    public void setTalentType(int talentType) {
        this.talentType = talentType;
    }

    public int getTalentLevel() {
        return talentLevel;
    }

    public void setTalentLevel(int talentLevel) {
        this.talentLevel = talentLevel;
    }

    public long getOldFlower() {
        return oldFlower;
    }

    public void setOldFlower(long oldFlower) {
        this.oldFlower = oldFlower;
    }

    public long getFlowerCost() {
        return flowerCost;
    }

    public void setFlowerCost(long flowerCost) {
        this.flowerCost = flowerCost;
    }

    public long getReturnFlower() {
        return returnFlower;
    }

    public void setReturnFlower(long returnFlower) {
        this.returnFlower = returnFlower;
    }

    public long getNewFlower() {
        return newFlower;
    }

    public void setNewFlower(long newFlower) {
        this.newFlower = newFlower;
    }
}
